package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
public class DogTest2 {
    public static void main(String[] args) {
        Dog d=new Dog();
        //给对象d的属性 赋值
        d.type="金毛";
        d.weight=4.6;
        d.name="贾斯汀";
        d.age=3;
        d.color="黄色";
        d.showSelf();
    }
}
